package com.fooddelivery.Service;

import com.fooddelivery.Common.queryParam.QueryPageParamSaveTOrder;
import com.fooddelivery.Common.responseVO.OrderDetailVO;
import com.fooddelivery.Entity.TOrder;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 订单表 服务类
 * </p>
 *
 * @author swy
 * @since 2025-09-09
 */
public interface TOrderService extends IService<TOrder> {

    OrderDetailVO getOrderDetail(Long id);

    List<OrderDetailVO> currentMthOrd();

    Boolean saveOrder(QueryPageParamSaveTOrder queryPageParamSaveTOrder);

    List<OrderDetailVO> person_orderList(String userId);

    void cancel_order(Long id);

    void payOrder(TOrder tOrder);
}
